Skip to content

Fix IsStale to be true only when all endpoint instances are stale#5474

Merged
jasontaylordev merged 1 commit into
masterfrom
fix/monitoring-endpoint-instance-stale
May 20, 2026
Merged

Fix IsStale to be true only when all endpoint instances are stale#5474
jasontaylordev merged 1 commit into
masterfrom
fix/monitoring-endpoint-instance-stale

Conversation

@jasontaylordev
Copy link
Copy Markdown
Contributor

IsStale in GetMonitoredEndpoints was set to true when any instance was stale. Changed .Any() to .All() so it is only true when all instances are stale.

Previously, within ServicePulse, the monitoring endpoint list would hide all metrics and show ? placeholders for an endpoint if any of its instances were stale. With this fix, metrics remain visible as long as at least one instance is healthy, giving a more accurate picture of endpoint health.

@jasontaylordev jasontaylordev merged commit 2a9a4ed into master May 20, 2026
33 checks passed
@jasontaylordev jasontaylordev deleted the fix/monitoring-endpoint-instance-stale branch May 20, 2026 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants